<?php
define("DOMAIN", "http://127.0.0.1");
define("DB_SERVER", "127.0.0.1");
define("DB_PORT", 3306);
define("DB_NAME", "baona_club");
define("DB_USERID", "michael");
define("DB_PASSWORD", "123456");
define("DB_CHAR_SET", "utf8");
$config = array(
    //视图配置
    "view" => array(
        "webSiteName" => "宝纳",
        "dashBoard" => "管理面板",
        "adminName" => "后台系统",
        "admin_index_news" => "最新新闻",
        "admin_index_activity" => "本周最新活动",
        "resource_domain" => DOMAIN
    ),
    "login_url" => DOMAIN . '/System/signin',
    "filter_position" => array("render"),
    "user_role" => array("admin", "user"),
    "user_signup_url"=>"/index.php/Passport/signup",
    "user_default_dashboard" => array("admin" => DOMAIN . "/index.php/Admin", "user" => DOMAIN . "/index.php/user"),
    "user_default_login_url" => array("admin" => DOMAIN . "/index.php/Admin/login","user"=>DOMAIN.'/index.php/index'),
    "user_url_acl_exclude" => array("/Admin/login"),
    "user_url_acl" => array(
        "admin" => array("/Admin/**"),
        "user" => array("/user/**", "/user")
    )
);
$GLOBALS['filter'] = array();
$GLOBALS['config'] = $config;


?>